<?php

namespace app\common\traits;

use app\common\model\User;

trait UserAssociatePart
{
    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'id');
    }
}